#include "stm32f10x.h"
#include "stm32f10x_conf.h"

int main(void)
{
    uint8_t dat = 0;  
    SysTick_Init();
    NVIC_PriorityGroupConfig(NVIC_PriorityGroup_2);  //中断优先级分组 分2组
    hal_debug_int(BaudRate_9600);
    hdl_led_init(LED_GPIO_PORT,LED0|LED1);
    hdl_lcd12864_driver_config();
    printf("hello world\r\n");
    while(1)
    {
        Set_IOledToogle(LED_GPIO_PORT,LED0);
        SysTick_Delay_Ms(1000);
			SysTick_Delay_Ms(1000);
			SysTick_Delay_Ms(1000);
        hdl_74hc595_byte_write(dat);
        dat++;
    }
		return 0;
}
